<script lang="ts" setup>
  const props = defineProps({
    title: {
      type: String,
      defualt () {
        return '一线生活通'
      }
    },
  });
</script>

<template>
  <div class="home-title">
		<p>{{ props.title }}</p>
	</div>
</template>

<style scoped lang="scss">
  .home-title {
		display: flex;
		align-items: center;
		height: .5rem;
		margin-top: .1rem;
		padding-left: .15rem;
		background-color: #fff;
		border-bottom: 1px solid #ddd;
		box-sizing: border-box;

		p {
			font-size: .18rem;
			color: #000;
		}
	}
</style>
